package com.avic.gateway.common.constant;

/**
 * @author: huangsheng
 * @date: 2018/8/24
 */
public class GatewayConstant {


    /**
     * 默认返回结果内容类型
     */
    public static final String DEFAULT_RESPONSE_CONTENT_TYPE = "application/json;charset=UTF-8";

    public static final String REDIS_BEAN_NAME = "gatewayRedis";

    public static final String REDIS_MANAGEMENT_TOKEN_SPACE = "gateway-service:management-token:";

    public static final String MANAGEMENT_TOKEN_NAME = "management-token";

    /**
     * 用户IP
     */
    public static final String HEADER_X_REAL_IP = "real-ip";

    /**
     * admin 后台用户ID
     */
    public static final String HEADER_CURRENT_USER_ID_KEY = "current-user-id";
}
